package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description
 * @Autor 伍军
 * @Date 2022/9/26 9:35
 * @Version 1.0
 **/
@Data
@TableName("paper_question")//pojo实体对应的表的名字
public class Question {

        //主键列注解
        // @TableId(value="主键列名",type="主键生成策略“)
       @TableId(value="qu_id",type = IdType.AUTO)
       private Integer quId;

       //非主键注解(TableField可以省略，前提是属性命名符合驼峰命名规则)
       //TableField(value="主键列名",exist="是否配置属性对应的列名的映射关系")
       @TableField(value = "qu_content",exist = true)
       private String quContent;
        private String quAoption;
        private String quBoption;
        private String quCoption;
        private String quDoption;
        private String quType;
        private String quScore;
        private String quAnswer;
        private String createTime;

       @TableField(exist = false)
       private  Integer page;

       @TableField(exist = false)
       private  Integer row;




}
